package xyz.bali16.application.model.menu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("修改菜单参数")
public class MenuUpdatedParam extends MenuAddParam {
    /**
     * 菜单id
     */
    @ApiModelProperty(name = "id", value = "菜单id", required = true)
    @NotEmpty(message = "菜单id不能为空")
    private Long id;

}
